package com.xxgc.eow.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 二级评论（评论下面的评论）
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-22
 */
@Getter
@Setter
@Schema(name = "Secondaycomment", description = "二级评论（评论下面的评论）")
public class Secondaycomment implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "二级评论id")
    @TableId(value = "secondayComment_id", type = IdType.AUTO)
    private Integer secondaycommentId;

    @Schema(description = "二级评论内容")
    private String secondaycommentContent;

    @Schema(description = "二级评论来自一级评论那张表")
    private Integer commentId;

    @Schema(description = "用户id")
    private Integer userId;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "销毁时间")
    private LocalDateTime destroyTime;

    @Schema(description = "假删除状态")
    private Integer tip;

    @Schema(description = "点赞数量")
    private Integer secondayCommentLike;

    @Schema(description = "收藏数量")
    private Integer  secondayCommentCollect;
}
